package com.launch.carmanager.common;

import android.app.Application;
import android.content.Context;

import com.facebook.stetho.Stetho;
import com.launch.carmanager.data.PrefserHelper;

/**
 * Created by ganquan on 2019/3/28 09:34
 */
public class MyApplication extends Application {

    public static Context mContext;

    @Override
    public void onCreate() {
        super.onCreate();
        PrefserHelper.initPrefser(this);
        mContext = getApplicationContext();
        Stetho.initializeWithDefaults(mContext);
        AppConfigInfo.setAppInfo(this);
    }

    public static Context getContext() {
        return mContext;
    }
}
